<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>问答管理</title> 
<#include '/frame/version.html'> 
<#include '/frame/manage/include_css.html'> 
<#include '/frame/manage/include_js.html'> 
<#include '/frame/taglib.html'>
</head>
<body id="nv_member" class="pg_CURMODULE">
<#assign current='menu_ques_type'>
	<div id="wp" class="wp">
		<#include "/include/header.html"/>
		<div class="contentmanage">
			<div class="developer">
				<div class="tableContent">
					<#include "/include/left.html"/> 
					<#include "/include/wxtop.html"/>
					<div class="content">
						<div class="msgWrap">
							<div class="cLine">
								<div class="pageNavigator left">
									<a href="javascript:void(0);"  onclick="addOrEdit()" title="新增"
										class="btnGrayS"> <img width="16"
										src="${basePath}/images/add.png" class="vm"> 新增分类</a>
								</div>
								<div class="pageNavigator right">
									<form action="${basePath}/admin/ques/type/index" method="post">
										<input class="px" name="questype" placeholder="请输入分类名查询"
											value="${questype}" /> <input class="btnGreen" type="submit"
											value="查询" />
									</form>
								</div>
							</div>
							<table class="ListProduct Shallow_border_color" border="0"
								cellSpacing="0" cellPadding="0" width="100%">
								<thead>
									<tr>
										<th>编号</th>
										<th>问题分类</th>
										<th>创建人</th>
										<th>创建时间</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody>
									<#if page?exists> <#list page.recordList as bean>
									<tr>
										<td valign="middle" align="center">${page.pernum*(page.currentPage-1)+bean_index+1}</td>
										<td>${bean.questionType}</td>
										<td>${bean.author}</td>
										<td><#if bean.createTime?exists>${bean.createTime?string("yyyy-MM-dd HH:mm:ss")}</#if></td>
										<td class="norightborder">
											<a href="javascript:void(0);"onclick="edit('${bean.questionTypeId}')">编辑</a>
											<a href="javascript:void(0);"onclick="del('${bean.questionTypeId}')">删除</a>
											<a href="javascript:void(0);"onclick="quesmanage('${bean.questionTypeId}')">问答管理</a></td>
									</tr>
									</#list> </#if>
								</tbody>
							</table>
						</div>
						<#assign formUrl="${basePath}/admin/ques/type/index?">
						<#include "/include/pagination.html">
					</div>
					<div class="clr"></div>
				</div>
			</div>
		</div>
		<!--底部-->
	</div>
	<!--ad start-->
	<!--ad end-->
	</div>
	</div>
	</div>
	<#include "/include/footer.html"/>
	<script type="text/javascript" src="${basePath}/js/questype/ques_type.js"></script>
	<script>
	 function quesmanage(typeid){
		 
		 window.location.href="${basePath}/admin/ques/index?typeid="+typeid;
		 
	 }
	</script>
</body>
</html>